package com.bei_en.teacher.admin.model.questions.condition;

import java.util.*;

import com.bei_en.teacher.admin.model.BaseCondition;

import javax.validation.constraints.*;

import org.hibernate.validator.constraints.*;

import java.math.BigDecimal;

/**
 * 用于list页面的查询条件
 * 
 * @author Guocg
 * @date 2016-8-15 23:28:11
 */
public class QuestionsSubtimCondition extends BaseCondition {

    private Date createTime1;   //生成时间起
    private Date createTime2;   //止
//    private Boolean isDel = false;
    @NotBlank(message="id不能为空")
	private String questionsId;  // 
    @NotBlank(message="做的时间不能为空")
	private String questionsMakeTime;  // 做的时间
    @NotBlank(message=" 做对id不能为空")
	private String questionsYesNum;  //  做对总人数
    @NotBlank(message=" 做错id不能为空")
	private String questionsErrorNum;  //  做错总人数
    @NotNull(message=" 是否收藏不能为空")
    private Integer  isCollection;//是否收藏学习报告
	@NotNull(message=" 章节点不能为空")
	private Integer questionsTypeId;  // 章节点
	private Integer userId;  //  用户id
	private Integer type;  // 1是章节点练习2是知识点练习3是模拟考试4是真题
	private String title;  // 标题
	private Double answerRate;  // 答题率
	@NotNull(message=" 做对总分不能为空")
	private Double yesFraction;  //   做对总数
	private Double totalFraction;  // 考试总分
	private Double averageFraction;  //  答对总分
	@NotNull(message=" 答题总时间不能为空")
	private Integer makeTime;
	private Integer averageTime;  //  答对时间
	private Integer countryTime;  //  全国时间
	private Integer type2;  // 1是单选题2是判断题3是多选题4是名称解析5简答题
	public Integer getType2() {
		return type2;
	}

	public void setType2(Integer type2) {
		this.type2 = type2;
	}
    
	public Integer getMakeTime() {
		return makeTime;
	}
	public void setMakeTime(Integer makeTime) {
		this.makeTime = makeTime;
	}
	public Integer getQuestionsTypeId() {
		return questionsTypeId;
	}
	public void setQuestionsTypeId(Integer questionsTypeId) {
		this.questionsTypeId = questionsTypeId;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Double getAnswerRate() {
		return answerRate;
	}
	public void setAnswerRate(Double answerRate) {
		this.answerRate = answerRate;
	}
	public Double getYesFraction() {
		return yesFraction;
	}
	public void setYesFraction(Double yesFraction) {
		this.yesFraction = yesFraction;
	}
	public Double getTotalFraction() {
		return totalFraction;
	}
	public void setTotalFraction(Double totalFraction) {
		this.totalFraction = totalFraction;
	}
	public Double getAverageFraction() {
		return averageFraction;
	}
	public void setAverageFraction(Double averageFraction) {
		this.averageFraction = averageFraction;
	}
	public Integer getAverageTime() {
		return averageTime;
	}
	public void setAverageTime(Integer averageTime) {
		this.averageTime = averageTime;
	}
	public Integer getCountryTime() {
		return countryTime;
	}
	public void setCountryTime(Integer countryTime) {
		this.countryTime = countryTime;
	}
	public Date getCreateTime1() {
		return createTime1;
	}
	public void setCreateTime1(Date createTime1) {
		this.createTime1 = createTime1;
	}
	public Date getCreateTime2() {
		return createTime2;
	}
	public void setCreateTime2(Date createTime2) {
		this.createTime2 = createTime2;
	}
	public String getQuestionsId() {
		return questionsId;
	}
	public void setQuestionsId(String questionsId) {
		this.questionsId = questionsId;
	}
	public String getQuestionsMakeTime() {
		return questionsMakeTime;
	}
	public void setQuestionsMakeTime(String questionsMakeTime) {
		this.questionsMakeTime = questionsMakeTime;
	}
	public String getQuestionsYesNum() {
		return questionsYesNum;
	}
	public void setQuestionsYesNum(String questionsYesNum) {
		this.questionsYesNum = questionsYesNum;
	}
	public String getQuestionsErrorNum() {
		return questionsErrorNum;
	}
	public void setQuestionsErrorNum(String questionsErrorNum) {
		this.questionsErrorNum = questionsErrorNum;
	}
	public Integer getIsCollection() {
		return isCollection;
	}
	public void setIsCollection(Integer isCollection) {
		this.isCollection = isCollection;
	}
	
	

//    public Boolean getIsDel() {
//
//	return isDel;
//    }
//
//    public void setIsDel(Boolean isDel) {
//
//	this.isDel = isDel;
//    }


}